import Components from "unplugin-vue-components/vite";
import { VantResolver } from "@vant/auto-import-resolver";

export default function initAutoComponents() {
  return Components({
    resolvers: [VantResolver()],
    dts: "types/components.d.ts"
  });
}
